Get the current value of the recursion limitΒΆ
Get the current value of the recursion limit.
import sys
print("Current value of the recursion limit:")
print(sys.getrecursionlimit())
Output:
Current value of the recursion limit:
1000
import sys
print("Current value of the recursion limit:")
print(sys.getrecursionlimit())
Output:
Current value of the recursion limit:
1000